import { Link, Navigate } from 'react-router-dom';
import { useMeStore } from '../../store/me';

export default function LoginPage() {
  const meStore = useMeStore()

  if (meStore.status.state == "AUTHED") {
    return <Navigate to="/"/>
  }

  return (
    <div>
      <Link to="/login/up">用户名密码登录</Link>
    </div>
  );
}
